from django.db import models

# Create your models here.

class recruit(models.Model):
    id = models.AutoField(primary_key=True)
    title = models.CharField(max_length=50) # 招聘标题
    address = models.CharField(max_length=20) # 公司地址
    salary = models.DecimalField(max_digits=6, decimal_places=2) # 薪水
    intro = models.CharField(max_length=100) # 招聘内容  
    email = models.CharField(max_length=50)#招聘邮箱
    create_time = models.DateField() #发布日期

class offer(models.Model):
    id = models.AutoField(primary_key=True)
    title = models.CharField(max_length=50) # 录取标题
    content = models.CharField(max_length=100) # 录取内容  
    create_time = models.DateField() #发布日期

    